PXC Documentation

PXC Home

Flood Fill

1.18.0

Filled connected pixel given position and color.



Node Data

GenerateArray

Display name

Flood Fill

Internal name

Node_Flood_Fill

Inheritances

node
node_processor
node_flood_fill

Inputs

node_flood_fill

surface

Surface In

surface

Mask

float

Mix

bool

Active

vec2

Position

color

Colors

float

Threshold

bool

Diagonal

enum

Blend

Outputs

node_flood_fill

surface

Surface Out

Attributes

node_flood_fill

Fill iteration

Flood fill node fill a region with the same color with a new color. That region is based on a single points. If you want to map all regions with new colors, you can use Region Fill node.




Properties


Position


Position of a pixel in the region to fill.


Threshold


Threshold of the color difference to ber consider the same region.


Colors


Color to fill to.


Diagonal


Whether to fill diagonal pixel.


Blend


Blending mode between the original and the filled color.